const mongoose = require("mongoose");
const Schema = mongoose.Schema;

const userType = {
  username: String,
  password: String,
  avater: String,
  role: String,
  desc: String,
};

const UserModel = mongoose.model("user", new Schema(userType));

module.exports = UserModel;
